<table cellspacing="0" cellpadding="0" class="goods_body">
    <tbody>
    <volist name="goods" id="good">
        <tr>
            <td style="width:70px;text-align: center;">{$good.id}</td>
            <td style="width:80px;text-align: center;">
                <if condition="$good['img'] neq ''">
                    <img width="50" height="50" src="{$good.img}"/>
                    <else />
                    <img width="50" height="50" src="./Uploads/good/no.png"/>
                </if>
            </td>
            <td style="width:150px;text-align: center;">{$good.g_name|mb_substr=0,11,'utf-8'}......</td>
            <td style="width:100px;text-align: center;">{$good.good_sn}</td>
            <td style="width:100px;text-align: center;">{$good.create_time}</td>
            <td style="width:100px;text-align: center;" axis="col0">
                <input type="checkbox" class="goods_id" value="{$good.id}" data-gname="{$good.g_name}"/>
            </td>
        </tr>
    </volist>
    </tbody>
    <tr>
        <td colspan="5"></td>
        <td style="text-align:center;"><button class="confirm_btn">确认选择</button></td>
    </tr>
</table>
{$page}
<script type="text/javascript">
    $(document).ready(function(){
        $(".pagination a").click(function(){
            cur_page = $(this).data('p');
            ajax_choisegoods_table(cur_page);
        });
    });
</script>